package com.kalix.ksh.proint.dao;

import com.kalix.framework.core.impl.dao.GenericDao;
import com.kalix.ksh.proint.api.dao.ILineChartRequestBeanDao;
import com.kalix.ksh.proint.entities.LineChartRequestBean;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.UUID;

/**
 * Created by Wanghw on 2018/10/10.
 * 折线图请求
 */
public class LineChartRequestBeanDaoImpl extends GenericDao<LineChartRequestBean, Long> implements ILineChartRequestBeanDao {
    private String uuid;
    public LineChartRequestBeanDaoImpl() {

        uuid = UUID.randomUUID().toString();
    }
    @Override
    @PersistenceContext(unitName = "proint-unit")
    public void setEntityManager(EntityManager em) {
        super.setEntityManager(em);
    }
}
